package org.manon.json.asm;

/**
 * Class loader for bytecode generated.
 * 
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 */
final class ASMClassLoader extends ClassLoader {

	public ASMClassLoader() {
		super(ASMClassLoader.class.getClassLoader());
	}

	public ASMClassLoader(ClassLoader parent) {
		super(parent);
	}

	public Class<?> defineClass(String name,byte[] code) {
		return defineClass(name, code, 0, code.length);
	}
}